<!--[include file="crpcasa_user_menu.htm"]-->
<!--[pnajaxheader imageviewer="true"]-->
<div id="crpcasa_gallery">

<div>
	<div>
		<div>
			<div id="crpcasa-fullsize" style="width:<!--[$imagesize]-->px;">
				<div id="crpcasa-information" style="width:<!--[$imagesize]-->px;">
				<h3><!--[$image.title]--></h3>
				<p><!--[$image.description]--></p>
				</div>
				<a href="<!--[$maximage.content]-->" rel="imageviewer">
				<img src="<!--[$image.content]-->" alt="<!--[$image.title]-->" title="<!--[pnml name=_VIEW html=1]--> <!--[$image.title]-->"/>
				</a>				
			</div>			
		</div>

		<!--[nocache]-->
		<!--[if !empty($comments)]-->
		<p>
		<h3><!--[pnml name=_CRPCASA_COMMENTS html=1]--></h3>
		<!--[foreach from=$comments item=comment]-->		
			<p>
				<div>
				<img src="<!--[$comment.author.thumbnail]-->" alt="<!--[$comment.author.nickname]-->" title="<!--[pnml name=_VIEW html=1]--> <!--[$comment.author.nickname]-->" style="float:left;margin-right:2px;"/>
				<h4><!--[$comment.author.nickname]--></h4><em><!--[$comment.published|pndate_format]--></em>
				</div>
				<div>
				<!--[$comment.content]-->
				</div>
			</p>
		<!--[/foreach]-->		 
		</p>
		<!--[/if]-->
		<!--[/nocache]-->
		
		<div style="clear:left;">&nbsp;</div>
		
		<p class="crpcasa-album-cover-title">
			<!--[if $previous]-->
			<a href="<!--[pnmodurl modname=crpCasa func=view_image id_album=$album.id id_image=$previous]-->">
				<!--[pnimg modname=core src=previous.gif set=icons/extrasmall altml=true titleml=true alt="_PREVIOUS" title="_PREVIOUS"]--></a>
			<!--[/if]-->
			<!--[if $next]-->
			<a href="<!--[pnmodurl modname=crpCasa func=view_image id_album=$album.id id_image=$next]-->">
				<!--[pnimg modname=core src=next.gif set=icons/extrasmall altml=true titleml=true alt="_NEXT" title="_NEXT"]--></a>
			<!--[/if]-->
		</p>
		
		<!--[pnmodurl modname="crpCasa" func=view_image id_album=$album.id id_image=$image.id assign=returnurl]-->
    	<!--[pnmodcallhooks hookobject=item hookaction=display hookid=$image.id module=crpCasa returnurl=$returnurl]-->
		
	</div>
</div>

<div style="clear:both;"></div>

</div>
